Fix typos I introduced into tpmfront driver.
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 30 Sep 2005 08:17:07 +0000 (09:17 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 30 Sep 2005 08:17:07 +0000 (09:17 +0100)
linux-2.6-xen-sparse/drivers/xen/tpmfront/tpmfront.c

index dadb86656879f7ce9cfbf1211cb27eab12db01e7..8fc6a4b5016f1e42500adbb73eb4433425325036 100644 (file)
@@ -293,9 +293,9 @@ static void destroy_tpmring(struct tpmfront_info *info, struct tpm_private *tp)
                tp->tx = NULL;
        }
 
-       if (tpm->irq)
+       if (tp->irq)
                unbind_evtchn_from_irqhandler(tp->irq, NULL);
-       tp->evtchn = tpm->irq = 0;
+       tp->evtchn = tp->irq = 0;
 }